package com.finance.system.support.exception;

import lombok.Data;

@Data
public class BaseException extends RuntimeException {

	private static final long serialVersionUID = 1L;
	protected String errorCode = "";
	protected String errorMsg = "";

	public BaseException(String errorCode,String msg) {
		super(errorCode);
		this.errorCode = errorCode;
		this.errorMsg = msg;
	}

	public BaseException() {
		super();
	}



}
